package com.ynjtc.desserts.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author: lihua
 * @Date: 2025/9/25 08:53
 * @Version: v1.0.0
 * @Description:
 **/
@Data
@TableName("t_dessert")
public class Dessert {

    @TableId("id")
    private Integer id;

    @TableField("dessert_name")
    private String dessertName;

    @TableField("img_url")
    private String imgUrl;

    @TableField("category_id")
    private int categoryId;

    @TableField("price")
    private double price;

    @TableField("dessert_describe")
    private String dessertDescribe;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("status")
    private int status;
}
